/* restrict UCR to NIBRS .do file
files used: Submission/NIBRS/Data - Clean/Analysis_Data/NIBRS_analysis.dta
files created: Submission/UCR/Data - Clean/Analysis_Data/NIBRS_ORIs.dta
programs used: restrict to NIBRS
*/
********************************************************************************

*bring in NIBRS analysis dataset
use "Analysis Data/NIBRS_analysis.dta", clear

*drop all variables except ORI
keep ori9

*drop ORI duplicates
duplicates drop

*save
save "Processed Data/NIBRS_ORIs.dta", replace
